﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Ridofy
{
    public struct Track
    {
        [XmlElement("artist")]
        public Artist Artist;

        [XmlElement("album")]
        public Album Album;

        [XmlElement("name")]
        public string Title;

        [XmlAttribute("href")]
        public string SpotifyUrl;

        // These elements are available in the API but useless and almost always null...

        //[XmlElement("mbid")] 
        //public string MusicBrainzId;
        //[XmlElement("url")]
        //public string Url;
    }

  
}
